In theory

Theoretically, what should be correct according to some rule or principle.

In theory, it is possible to make much money selling real estate but in practice it is very difficult.