As a manager, I can’t even imagine a scenario where I would require someone to be online at a certain time.
Maybe it’s the type of work or business requirement that causes this behavior, but I view this as such a violation of autonomy that it would immediately kill team morale.
You sound like a very creative/talented developer, if I were you I would not put up with this.