Bathroom toilet question

Is it correct that a toilet can only be installed against an outside wall ? If this is not so what do I need and what are pitfalls if any, on positioning against an internal wall ? All other advice appreciated….