Yes, you can name your band after another band, but be careful of trademarking. Don’t outright copy their name, but think about a different name inspired by them. After all, you still want your own name to be unique and distinctive, not a direct copy of another band’s name.