For Interactive Fiction, KIF does that natively on the kindle:
https://www.mobileread.com/forums/sho...d.php?t=101876
The mobi format would only work if you replace all page turn references with hyperlinks. This is because mobi doesn't use page numbers but uses locations. If you absolutely need to preserve the page numbers, then PDF is better.