Yes! Practice like you play is what i always got taught in my day job. If you put your all into your practice you’ll get it all when you perform in my opinionNot long enough.
If I sit down to practice it must be around 30 minutes. I never timed it but I often play for hours and my aproach to playing songs is the same as to practicing.