I was wondering if there is a way to restrict form so it is only accessible by a specific IP range?
I would use a Form Security Filter service to do this. This service type can check the IP address from the request object and redirect to a page of your choice.
Here is an example showing how to get the IP address in a Groovy service:
Determining the IP address that a form is requested from
Here is an example of Form Security Filter.