Max used to have zoomies in the evening and then he would throw a little tantrum and attack his bed because he didn't want the day to end.

Exercise during the day definitely would help. Since you cannot go walking, try vigorous games of fetch indoors We play "keep away" with 2 people throwing the toy back and forth and the dogs chase it. Be prepared for the body slams!