The CSS property "float: snap-block" may be what you are looking for. See
this example from W3C to see how it works.
Amazon has limited support for this property in Enhanced Typesetting (KFX formatting). I don't know about support in other e-readers.