Are WordPress Image Gallery Blocks SEO Friendly?

Hi, I am trying to re-work my images for SEO content (and faster loading) – just wanted to check if the “gallery” block in WP is SEO friendly (i.e. will search engines pick up my image file names, title tags and alt descriptions etc if I insert my images into a WordPress block GALLERY (vs. image?)
Thanks heaps guys.