This would be additional income complicating tax, and many companies restrict employees from taking on outside paid work without approval.
No matter how you slice it, these multi-hour homeworks are a stupid idea. And the real reason for them is to discourage candidates to justify getting indentured labour instead. Or to discriminate against older workers with more existing time commitments.