Can I use my computer as an ISP and share my internet connection remotely

Is it possible to turn a computer with an internet connection into an ISP of sorts and share that internet connection with remote computers in another city state or country with a slow/inferior internet connection or no internet connection whatsoever?