Sure, and referring to the whole of the UK as England is also a thing. It’s confusing but people are people. Or as they say in some parts of “England” it’s queer as folk.
"Britain" is widely used to refer to the UK, but Great Britain is the physical land mass which excludes Northern Ireland, so there is rarely confusion.