Is it permissible to learn to play the guitar or any other electric music equipment with the intention of creating Halal music, excluding music that is unsuitable for vain and Haram gatherings?
Bismihi ta'ala
Yes, it would be permissible, and in shaa Allah you can do it a useful and positive way to attract children to Islamic morals and principles.
And Allah knows best