TL; DR: Possible yes, but not very efficient
Much of this answer is based on Practical Programming for Strength Training, if you are interested in the intricacies of how to lay out an effective training schedule, you should definitely give it a read.
Strength training is essentially about exposing your muscles to a stimulus that they are ill-prepared to deal with - namely, lifting heavy weigths. Subsequentially, after surviving this shock, your body sets off processes to recover from the stimulus. This is called "disruption of homeostasis". If the stimulus was of appropriate intensity, your body will "supercompensate", i.e. makes sure that in the future, you will be better equipped to deal with that kind of stress - you become stronger. If the stimulus was too intense, your adaptive capacity is overwhelmed; if it lacked intensity, homeostasis was not disrupted - in neither case did you became stronger.
As a novice lifter, you fully recover and supercompensate from an appropriate stimulus within 24-72 hours. After that timeframe, your body starts degrading back towards your fitness baseline. With your suggested schedule, each muscle group rests 84 hours on average before being activated again. This is not optimal at all. You should opt to work out every muscle group 3 times a week.
Splits are suitable for advanced athletes that need to do more volume work than what is feasible in a single workout session in order to break homeostasis. As a novice however, one high intensity compound lift plus maybe a lower-intensity accessory lift per muscle group is an adequate amount of intensity and volume for you to make optimal progress. Hence, I recommend a full body routine three days a week, focused on the big three lifts (Bench, Squat, Deadlift) after a linear progression model (meaning each workout you put a bit more weight on the bar than the workout before).
Here are some program suggestions:
Ice Cream Fitness This is a bodybuilding-focused novice program. The volume is pretty high, but since you said you can eat and sleep all day, it might be the most appropriate for you.
Greyskull LP These are several plans built around a three day routine. They allow a bit of customization and offers a variety of HIIT, LISS, mobility exercises for off-days, giving it a bit of a crossfitter spin. It's also the only linear progress program that managed to make resets (deload of weight after failing to do all reps for a lift in a workout) actual fun.
Phrak's Greyskull LP - Modification of the above core routine that gives pulling work (rows, pullups) the same priority as the big three lifts.
Starting Strength The godfather of linear progression programs. Has its share of issues but is probably never a wrong choice. Even if you don't plan to follow the Starting Strength routine, the book is absolutely worth buying. It has a thorough explanation of the intricacies of the big movements, and Rip is a fun writer in general.
ProgrammingTowin It's from the PowerliftingTowin guy and unsurprisingly, a dedicated powerlifting routine. More precisely a series of routines meant to accompany you from the very beginning up until the late intermediate stage several years in. You do only what he deems is useful for increasing your total on bench, squat, deadlift. There's no room intended for individual flavor and superfluous work. If you know you want to go the way of the powerlifter, I think this is the best program available bar none. If not, don't bother.
StrongLifts 5x5 not a fan of it, but many people like it and make good progress.
Also, more general advice apply, too:
- Eat enough and enough protein (1-1.5g per kg bodyweigth)
- Sleep long and good
- Maintaining proper form is more important than lifting bigger weights