Upvote:7
Yes, this is fine.
An EU ID card is valid for entry into any EU member state - Wikipedia specifically states that the Cartao de Cidadao is a "valid travel document within all of Europe".
The only disadvantage of using an ID card is that you may not be able to use the e-Passport gates, so you may have to wait longer at passport control (this is definitely the case in the UK).