Yes, you absolutely can create commercial software with Nasm. The software YOU create can be licensed however you wish. The only caveat you need to be aware of is if you use any source code from the Nasm project itself then you must retain that license. If you write all of your own code then you have nothing to worry about.