I'm assuming that the goldfish you have are true goldfish (aka carp) and not simply yellow tropical fish?
Goldfish are a -cold- water species that prefer temps around 66oF-68oF and do need lots of tank space (45 gallons is heaven to your four at this time) because they require on average 2 gallons of water per every one inch of fish. This is because they are adapted to cold water, which carries more oxygen so they're used to living in O2 saturated environments, and that they are pretty gluttonous eaters that need larger dilution volume for their waste products. Single tailed species (Subunkin, Comets, Koi, etc) like a lot of space to zip around in as well. Most single tail speices can grow to be 24" or larger, most of your fantail, fatboddied speices (moors, orandas, Ryunkin etc) grow 8"-10", or about the size of a softball. Goldfish are known to suffocate in extreamly warm water that does not hold as much O2 that they need even if it is fine for tropicals. Most goldfish breeders/experts would reccomend only 2 full grown fantails per 55 gallons and would never say keep koi in a fishtank.
Livebearers on the other hand, require warmer, tropical temperatures around 76oF to 78oF. They also like a more brackish (slightly salty) environment (especially mollies, which I have kept at full oceanic salinities with greater sucess then I've had with them in freshwater), and they may grow to a moderate 2".
Due to the totally opposite water chemistry requirements of goldfish and livebearers, one should not keep it together. Has it been done before, yes, mostly by people who are not taking care of either speices as optimally as they ought to. Your goldfish will outgrow your livebearers and probably bully them. They may also outcompete the livebearers for food.
45 gallons is a nice size tank. But your fish will be one or the other. Goldfish or topicals.
~~Colesea