Xayvian, if I understand you correctly, you are asking about ocular projection (no additional lenses between the camera sensor and the telescope's eyepiece) and afocal photography (=regular digiscoping, where some sort of camera objective lens is between the camera sensor and telescope's eyepiece).
Ocular projection kinda works to get some sort of image, but finding the optimal distance between the sensor and eyepiece is challenging to say the least and, even then, is likely to have high chromatic aberration and poor image quality in general (especially at the edge). It's not something I would recommend, except if you are desperate to get a photo and have no other option.
Regular digiscoping (be it with a camera objective or TLS APO) is really the route you want to go