You can install a track cog on a freewheel hub, and use a bottom bracket lockring to hold it in place, but be sure to have caliper brakes as well, as using your legs to stop can cause the cog to unthread from the hub. Chainline can be adjusted using spacers as needed.