Add more than 1 of a product option

Would it be possible to make it so the customer can add more than 1pc of an optional product?

For example, say someone is buying a notebook, and under product options you can choose your color and some pencils to write with in your new notebook. But you want to buy 3 pencils not just 1. Yes, I know, the pencils could go down in “Related Products”, but it’s look better and is faster to put them under options. But you can only buy 1 pencil in the options section. Do you get what I’m asking? Can this be done or added? Thanks,