You can redirect the
http://ip.add.re.ss, but you cannot redirect https, because the connecting browser will throw errors.
You’re trying to do something you should not do. Stop using the IP for anything. The IP doesn’t matter. Never link to it, never give it to anyone as a way to reach you, just never use it. We have hostnames for a reason. Use them.
If you insist on doing it, you’ll have to buy a cert from someone that’ll issue one for an IP (I don’t know who will do this, since you’re unlikely to “own” your IP address). I have never wanted or needed to do this, however, so I can’t imagine what scenario you are in where it makes sense to do anything with the IP address.