There are rules about where no fielders are allowed to be, but I don’t believe that there are any rules that restrict how many players are allowed to be in a particular location (other than the total on the field as a whole). It’s possible that the catcher is the only one permitted to be outside the foul lines though…