Yes. As godot is MIT licensed, you can do whatever you want with it. Even make your own software, and distribute it comercially and closed source under any other license you want. I think the only obligation is that you include a file with a notice to the license and copyright of godot.
Have in mind that not all Open Source license are such permisive as MIT.
You can read the license here.