it adds friction and doesn’t provide value. I prefer me and my users not to share private info unless it’s absolutely necessary. Take a look at products like excalidraw, hackmd and others like doodle and rally.co (no affiliation to any of those).
Having the option to use an account is fine, but forcing it is a mistake in my opinion.
Of course it’s your product and you can choose whatever makes sense to you.
p.s. creating an account wasn’t painless actually with strange password strength requirements (between 8-15 chars, special symbols etc), but that’s not the main point.