Yes you can enter the PIN.
If there is a maximum number of times a return can be submitted after being rejected I am not aware of it.