Fallout 4 Weight gain mod (question for lovers of fat men)

Sorry it was just an example, I was more wondering if you could have a trigger which goes off whenever the player character sleeps and certain conditions are met. No mater the amount of time they are sleeping for.

Like for example how the vanilla lover’s embrase perk works. Lover's Embrace | Fallout Wiki | Fandom

If the player character sleeps and companion is nearby, they temporary get a perk for a few in game hours, no mater how short or long the period they slept for.

Only in this case instead of the condition would being over a certain weight and muscle freehold, when using the sleep menu (rather than a companion being nearby).