a lot depends on a lot of factors still
2 inches is from the outlet of the P trap to the level where it connects into the stack.
it is true
- that the p trap needs a space too, and
- that it is not wise to place it 8 feet away from the tub, next to the stack, and
- that it is wise to place it either under the tub drain, or tub overflow.
The line drawing below shows a way to gain some extra space by digging a little depression in the slab without going through it. This gives you space for the bottom of the P trap.
Optimistically speaking, you may be able to raise your tub by only a few inches and that will look nice, since it will be on a step up platform (e.g. 20 inches deep to the tub and 4 or 5 inches up off the floor).
Tons of options still, depending on tons of things we don't yet know about your situation. Is this new construction? Is the tub free-standing or is it going to be embedded in a tiled wall?
David