Anything can be a marriage. Any group of people (and plants, animals, inanimate objects, and fantasy beings?) can be a family. Who or what constitutes a family is limited only by one's imagination.
When the definition of something is "anything", the definiton becomes meaningless.