Yes, as long as you include all the project files required to build it from Deflemask that would count as open source.
If it plays ok in BGB then your ROM is probably alright. You can post it to see if someone is able to test on actual hardware. It's probably possible to fix the header with RGBFIX from RGBDS if you want to look into that.