You can move for pro hac vice admission in a court located in a state that you are not licensed to practice in.
But I think many federal courts will allow you to practice before that court if you apply for admission specifically to that court. If you do some googling, you will find some of these forms. You can also just call the clerk's office of the court you want to be admitted to and ask them.