Short answer: it's not safe to provide the copies/photos, it's not normal practice either in Portugal or Spain and never should be considered normal.
Officially, the only piece of information is needed is your ID document data, but never its copies or photos.
Any decent host here who is aware of the actual data protection and privacy laws, such as GDPR, will never ask to take a copy of your ID. They instead would give you a pre-configured link to the https://www.badireto.pt service 24h before arrival, which is a platform where you yourself enter your ID data directly without uploading your ID copies, that will be automatically communicated to SEF.
Some hosts here prefer doing it themselves and unfortunately, some of them may ask to take a photo of your ID, but you have a right to refuse to do so and let them store your ID data manually in the text format.
I always refuse requests to take a photo of my ID or send a copy, because it's not safe and not required officially.