I just noticed an answer I wrote to a question before it was put on hold:
was accepted. That seems odd.
Should it be possible to accept an answer on an on-hold question?
Yes, this behavior is intentional.
The asker of a closed question may still accept an answer.
Quoted from the answer on What is a "closed" or “on hold” question?.