It is perfectly possible to rent a house or apartment with some friends.
In that case one speaks of co-rent (the so-called “co-housing”).
General principles of co-rent:
All residents must be listed as a tenant on the rental contract
All residents who are in the rental contract are all jointly and severally and indivisibly liable for the monthly rent / charges
There is always one tenant who is considered the main tenant – he/she will be responsible for communication between the co-residents and the manager of the property. The rental deposit will also be in the name of the main tenant.