You are able to manually cast Thorns while staying in Moonkin form. However, if you use the buffomat hotkey to cast Thorns on a target, it removes Moonkin form
Telemain commented
The latest update (Buffomat Classic and TBC 2021.7.5) appears to have completely solved it. Thank you!