Not that it is possible or not, I am not saying either way; I actually wanted the exact same sort of spell when I was younger and I was a freshman in high school. I dealth with being bullied when I was younger for not only being gay, but also as being a witch. Not a combination society likes very much, that much I'll say.
I really wished for a spell that would exact vengance on my attackers by turning them gay so they could see how it felt. And believe me I tried writing my own spell, more than one in fact. To be honest no they didn't work, because you really cannot alter someone in that way. But I am not trying to dispute that.
My point is that after a while of trying to get revenge. and I was going through a lot back then, I had other things going on besides being harassed and bullied for being gay and being a witch; after a while I finally came to a realization. It suddenly became clear that I didn't need to cast a spell on them, because I realized that they had there own issues going on, and while yes I may have been of of the people they took it out on, even though it was wrong, they had just as much crap going on with them, even so possibly worse.
It's really hard to explain and get my point across, at least the way I feel about it, but I am an empath among other things, so for me after realizing everything that I had, I learned and ddecided that instead of trying to get back at them, I would help them instead; secretly of course but nonetheless I would try to help them with magic or any other means I could. For example one of my bullies, his name was David, I had learned that he was being severly abused at home in which the details I will not get into, but after learning that and feeling his own pain, which was unbearble, how could I possibly make it any worse for him. So I did everything I could from sending him healing energy, to leaving lunch for him when he came to school with no lunch money.
Anyway without going any deeper into a very difficult and hard time in my life, my whole point is that instead off adding to the mess and negativity, to stop, reflect, think, and heal the situation, rather than make it worse.
Blessings and Peace be with you,
~Moon aka Illy