Some hostels welcome "long-termers", but it's always worth contacting them in advance so you're not disappointed. Find all Budapest Hostels here.
Alternatively you could stay in a cool Airbnb.