Generally, yes. If bond rotation of one molecule leads to them being identical, then they are the same molecule. Although depending on how the question is asked, they may be considered different conformations, or "conformational isomers". But if that is not an option, then they are the same.
The reality is that the various conformations are rapidly interconverting, so that no single conformation can actually be isolated.