Going to uni with my best friendWatch
Depends on the uni and their accomodation allocation system. I've seen those that give you a code to share with your friend if you book a twin room but doesn't guarantee you two being put in the same room while some other unis don't even let you choose the hall to live in and simply offer you a place based on your indicated preference. Alternatively you could rent a room/flat/studio privately.
You should consider the cost and experience at the same time. You would be more isolated from the other First Years, and depending where you go the accommodation could be a lot more expensive than University accommodation. Although if you pool your money together you might be able to manage it.