They are pretty much just tracksuit bottoms.
But, many courses now state their dress codes that players must wear recognised golf attire. These are, so in my opinion you would be fine to wesr them.
Someone will be along soon to tell you they aren't traditional golf attire, and have no place being worn on the course. Then something about lowering dress standards (whatever that means) will lead to anarchy and courses not being looked after.