I have a 7yo and I told him there's a very simple rule: he needs to learn an instrument cause it's good for focus, as a practice for doing work and it ends up being fun once you stick to it. He can pick the instrument, or change it if he doesn't like what he picked, but he can't do nothing, that's not an option.
He oscillates from finding it a chore to being really proud of his achievements (he's a drummer for now). It's kinda funny sometimes he does both in the same day.
Overall I'm comfortable with it being mandatory, as a parent my job is to raise him to be a well functioning and happy adult, not to make him happy right here and now, and he gets it.