Is there a way to join two small camping tents?

Me and a couple of friend are going camping. We have two small tents. Is there any way to join them both in one?

Pitch them next to each other and use a tarp to go over the space in between them. This should give you a large room and two bedrooms.