If you trimmed or shaved your beard in the past due to ignorance or lack of knowledge, you can certainly grow it again and strive to follow the recommended Islamic practice. Allah is forgiving and merciful, and it is never too late to make positive changes in one's life.