motorcycles are light, so the total amount of energy to move the bike up the hill is typically insignificant. If the destination is 1000m (3300ft) higher than the starting point, that is 300*9.8*1000 = 2.94MJ of energy (about 0.8kWh) assuming total bike+rider weight is 300kg (660lbs) Assuming 85% efficiency of converting battery energy to potential gravitational energy, that would use about 0.94kWh of battery to lift the bike up that evlevation change, so it takes such a large hill to become significant.
Assuming going down the hill to the beach you "recover" potential energy at 100% efficiency, the difference of battery usage to get down the hill vs going up the hill would be about 1.75kWh. So if you make it to the bottom of the hill with 1.75kWh left in your battery, and you charge up to full while you are there, you should be able to make it back traveling at the same speed. If you have less than 1.75kWh when you get to the bottom of the hill, you will want to travel up the hill more slowly than you came down, to spend less energy moving the air around you.
Again, that assumes a 1km (3300 foot elevation change). Also note this calculation assumes the elevation at the start and the end of the trip, any increase / decrease in elevation between those two points roughly balances out and doesn't influence energy consumed that much (as long as you have enough energy to make it to the top of the highest point between the start and end).
Another thing to consider is prevailing winds and air temperature, which will both affect aerodynamics. I believe typically, winds blow off the ocean, so you may have a prevailing tail wind going up the hill, since the bottom of the hill is a beach. A 7-10kph wind can have significant impact on your range, especially if it is against you going one way, and with you going the other. Also air temperature has a significant impact on range, a study I read about bicycle racing and the effect of temperature on aerodynamics suggest that for every 10C temperature increase, the aerodynamic drag decreases by 3%. And depending on your speed, the most significant influence is your riding position. If you need to extend your range by 10-15% you can simply tuck to reduce your total cross section area, the faster you go the more tucking will affect your range.
If you want an adventure, go for it, do some math to prepare yourself to adjust your riding style if you find it necessary, and have a backup plan should things not work out the way you hoped. Without adventure life is boring.
-ryan