Can I compile the code form origin openwrt site to upate the GL-inet ap

I had download the source code of opewrt , Can I select a profile to build the source code and use the compile bin file to update the GL-inet ap

Yes, you can, but the compiled firmware does not have a GL proprietary package.