Adding I/O ports

Are we allowed to add input/output ports, in addition to those provided in the templates?

No, you may not add/remove/make any changes related to input/output ports.
The ports provided in the templates are the only ones required and are the only ones which should be in your final design.