Yes, you can do this by changing the server's RSROLE2014 environment variable. See Changing the Role for an Instance of Revit Server.