Like, yeah. Your great aunt Abigail who was always so bad with money that she and her best friend lived together in a one bedroom apartment for 45 years despite always taking vacations to Vermont and the third largest Greek island to celebrate their favorite poet was almost certainly gay. Maybe. There might be a clue.
But actual literal platonic roommates have existed for a long time. Like, it's relatively recent that people started to practice living exclusively with romantic partners and family.