Yes that is perfectly fine, as long as you UPHELD the GPL2-licence!!!
All code MUST be open source!!!
Read all the legal stuff here:
https://docs.lmms.io/user-manual/8-legal/8.1-license
Yes that is perfectly fine, as long as you UPHELD the GPL2-licence!!!