Adding Multiple sub Records

Scenario

We have a dog training business and we want to capture Client information and Dog information.

I have 2 tables

Client

Dog

with a 1client to Many Dog connection.

I have built a page to capture the Client information, you click next and then you add your dogs information. Click Submit and it creates the appropriate records.

Is it possible to add a button say so they can add another dog if they wish, or continue with just the one, so a loop as such until they have added all dogs.