Yes you can. Geomajas can be used under AGPLv3. As long as you conform to the AGPLv3 terms and conditions, you can use Geomajas for both commercial and non-commercial applications.
In case you want to lift the restrictions of AGPLv3, you can obtain an alternative license from Geosparc.
Project