Unless you use an ultra-low-kv motor, you'll have to use a reduction on the motor's output, because the chain would need to be driven fairly slowly to match the speeds pedalling would make it travel at.
Most RC motors are very high kV, meaning they spin very fast (in the hundreds to thousands of RPM), and if you use them at lower RPMs for the power levels they are made to run at the higer RPMs, they can quickly overheat.
A very basic, simplified version is that: 1kV is one rotation in one minute at one volt. 10kv is 10 RPM at one volt. So if you are using a 6s RC Lipo battery pack, that's about 24v near full charge, and would be about 240RPM at full throttle for a 10kV motor. But most RC motors are much higher kV than that.
Also, the lower the motor's RPM, the lower the power you get out of it, without overheating it, for the same winding and type of motor.
To get higher power with smaller motors you have to spin them at higher RPMs. For RC motors this typically means using a pretty extreme reduction on the output (10x or more).
There are a lot of ways to do this, and there are quite a few threads in the Non Hub Motor Drives forum section showing how it can be and has been done.
Another problem is that a 3d-printed sprocket providing torque against a chain is very likely to wear very quickly, (much faster than the plastic sprockets in a derailer, for instance, which is only guiding a chain).
You're probably going to have to make an adapter to bolt a regular bicycle sprocket to the RC motor shaft (or reduction output's shaft).