I would like to publish under a pseudonym. Will it have any legal or copyright-related impact?

Publishing under a pseudonym will have no legal impact or influence copyright protection of your work as the author agreement you will sign will have your details and state that you have published the book under a pseudonym.