Ninantic should do this
So now that the gym structure has changed and raids coming I really don't know why ninantic doesn't make a training arena. Why not let you practice attack on a training pokemon or something. That way you can practice for events and taking down gyms and try different movesets Vs different ones. Make it so you don't waste your potions as well doing this because it's just "training" this would solve a problem for some people who can't get out enough or if they are at home and still want to "play" they can. idk if anyone agrees but I think it sounds cool
Answers
Feels kind of unnecessary. It's not like Potions are a rare commodity, and you get a free Raid Pass every day. If you don't understand something, watch some YouTube videos and talk to your friends. No sense in creating extra work for Niantic programmers when they could be spending that effort on continuing to improve the gym experience in a meaningful way.
As to your comment regarding playing at home, the game is called "Pokemon GO" for a reason. Leave your house.