Hi,
I don't think, subform is available in ODK. However, you can achieve this by using conditional questions for each age group. You need to apply skip logic for the questions are applicable for >45.
I would advise, you to build forms using XLSForm to get more freedom than build.
Welcome to the ODK forum. We're glad you're here. When you get a chance, please Introduce yourself here!. I'd also encourage you to add a real picture as your avatar because it helps build community!
Thanks,
Imran