Some employers may require the full 38 hours, but let’s not forget the whole point of salary is for flexibility on behalf of the employee AND the employer. The employer may ask you to work a bit of overtime, but likewise it shouldn’t be expected that the employer “buys” you as a salaried employee. You get benefits like leave and the employer gets benefits such as you turning up every day. They pay you, you deliver results, if you don’t perform you get fired.
This is a different argument for contractors who do get paid by the hour so that starts to descend into some very ethical grey areas. Those grey areas mostly exist though because a lot of employees treat contractors like salaried employees (I.e. expectations are the same but no benefits).
I could never do it, but there isn’t really anything REALLY wrong with it.