Create a related record

You can technically do this all in the ui with multiple buttons and conditional rendering.
Or you can use javascript.

If you want to stay in the world of point&click, create one button for each set of rows that you need to create, conditionally rendering those buttons based on the opportunity type field. The buttons will be run mulitple actions, and will have consecutive ‘create new row’ actions.

For example, your silver type, your button will have 5 create row actions.

If your gold type needs 7 rows, the button conditionally rendered when the type is ‘gold’ will have 7 createrow actions.

Will that serve your use case?