Yes you can definitely book room, however if there is some issue with your relationship that comes up by either of your families or spouses, I would like to inform you that we would not take responsibility of that. We only provide rooms and are not liable to any consequences that come out of your relationship.
You both just need to check in legally with your IDs. Sometimes the hotels do not allow admission when they see that the spouse name in ID are different, as to some extent the right to admission is also reserved with the hotel. however, you please check in legally from your end.