Should be fine as long as you are absolutely sure someone won't close and latch the hood
If you plan on locking the cabin doors rbefore disconnecting the battery, you might set off the alarm when you recommision the car. Just be prepared to quickly open the door and insert the key.