You are allowed to charge for most libre-licensed software, but of course in practice if it's popular enough somebody else will just build it and undercut you.
I do wish there were more institutions funding FOSS work though it can be hard to measure the benefits and progress for individual projects.