Yes, but there are limitations. GIFs don’t support alpha transparency, which means every pixel needs to be 100% transparent or not. There’s no in between. If you need to have more nuanced transparency, a better option might be a transparent PNG.