I did, but I think that following Google’s guidelines is better. The main reason is that it clearly invites you to set default values to “denied” first. It is not the case in this Piwik PRO’s tutorial: it’s only update commands.
Additionally, Google’s guidelines integrate the new parameters “ad_user_data” and “ad_personalization”. I think Piwik PRO documentation would benefit from a little update.
In my opinion (and Google’s documentation mentions this method) it’s best to embed the defaults directly in your website, before any tag managment or tracking tool is loaded. It’s the safest way because it skips potential issues with 3rd party tools.