You can exchange any currency on the trial, however the rate might not be as good as Kathmandu. Likewise, there are ATMs in Lukla and Namche Bazar. Do know that these ATMs might not accept all kinds of ATM cards.