Yes, if both are ok with it, I see no problem in it. Just don't lie. That's where complications can arise.
Separate names with a comma.