Yeah of course. I used this program to record my screen https://www.screentogif.com/. But the gifs usually are too big and Itch.io has a 3MB limit for images, so you have to opmize it. In the program you can cut, resize, reduce frames, etc. but it probably wont't be enough optimization, so I use this page https://ezgif.com/maker to compress the video. There, I usually used Color reduction + dithering and Lossy GIF in the optimize tab to reduce the file size, but the gif will lose some image quality.