Anything in Common metre can be sung to anything else in Common metre. A favourite party trick in Australia, given that our national anthem is in Common metre. And so is the theme song of Gilligan’s Island.
See also Songs that scan to other songs, for more such examples.