You can.
Create a microflow.
Add a while loop inside of it and let it loop based on the given input number.
In this loop, add a object to a list.
This object (entity) should have a boolean attribute.
Show this list on the page and in every list item show the boolean.