Can you be with someone and not be in love ????

Can you remain in a relationship for years and years & not be in love with person??? By it being just a convenience and didn’t want to be lonely????