Yes, you can! There are some specific screen capturing software that comes with built-in live streaming options. The most popular one is OBS Studio.