Yes, it’s fully possible for you to sport a beard in your ID photo. If having a beard is part of your identity, then just go for it. But, remember that don't let it cover your face and you need to make sure that your whole face is visible in the picture.