I am moving a toilet in my basement far away from the main stack against the foundation wall where it used to be connected to.

Can I convert a typical basement sewer drain (4 inch PVC) near the furnace to a toilet waste return. I was told that since it would have a P-trap somewhere underground, the toilet would not flow properly through that setup. I'm not interested Code compliance, perfection or guarantee's, just if it would likely work satisfactorily in a pinch because if not, I need to break 20 feet of concrete and wreck a tiled floor to get at the proper stack.