You can, but then your employer will be forced to pay extra by law (at least that's how the labor code in my, small European country, is). Or you can be self-employed and then the labor code won't apply.
(If you still don't like it, you must be from Mars or something. I don't know anyone who would hate to get the extra money, and in fact, I don't know anyone here who would want to work longer hours than 40.)