Hi like the idea of making your own routine, and I’m all in to that. I like to do that myself.
If I may throw in my 2 cents here, well you can’t stop me now
Try to look at a push pull routine 4 days a week
day 1 and 3 work on the squat as a start, goblet, front, back, split squats
then one for chest like Bench, BB, DB, flat/incline, 4-6 rep range, another chest 10-12 rep
one shoulder exercise
one triceps exercise
Ab/core
day 2 and 4 work on your deadlift, romanian, try standing on blocks so you can hold a KB between the legs.
Then heavy rows/pull ups followed by another back exercise for reps.
one for the rear delt
one for the biceps.
Ab core
You could do some A - B routine full body
A squat, hinge, push pattern, pull patttern, arms, Abs
B another Squat, hinge, push, pull, arms, Abs
Do it every other day. In the rest days, do some light conditioning like walks or bikerides that does not stress the body.
If your first priority is to loose weight, make that number one priority. And while loosing weight, you will loose strength and muscle at least some of it.
Keep track on nutrition, every single day. Monitor the weight nice and slow drop in weight.