Bad idea. Then anyone who accesses it over HTTPS won't be able to use HTTP anymore and HTTPS requires a paid plan of some sort.
Ideally they should be on separate domains, at which point HSTS would be more suited.
Ideally they should be on separate domains, at which point HSTS would be more suited.