Yes, it's been done by some prominent composers. It doesn't always sound good without some tweaking!
https://en.wikipedia.org/wiki/Inversion_%28music%29#Melodies
https://en.wikipedia.org/wiki/Inversion_%28music%29#Melodies
That's a lot different from what the original comment was asking for.