Yes, if the button is anchored inside a text frame and text is rendered as HTML, then the button will be exported relative to it's position in the text frame.
Certain anchor position settings may display better than others, so you might want to experiment a bit.