Absolutely.
In the past, the Church took a rather dim view of suicide and its victims. Suicide is the sin of murder, with the unusual condition that the perpetrator and victim are the same person. Thus, Christian burial in consecrated (Catholic) ground was withheld from them. Furthermore, since they were considered probably guilty of mortal sin at the time of their (self-imposed) death, there was little point in praying for them, because our prayers cannot help the condemned.
However, in modern times, our understanding of suicide has developed, and most mental health professionals regard suicide as a very unnatural act (because self-preservation is one of our most fundamental natural instincts), so a suicide victim is usually considered to have some mental impairment. The Church has considered this position, and has agreed that many (if not most, or all) of suicide victims probably lacked sufficiently formed knowledge and consent for their act to be mortally sinful.
Thus, the Church no longer withholds Christian burial in consecrated ground from suicide victims, and encourages prayers on their behalf.
The underlying doctrine has not changed - those who die in a state of mortal sin are condemned. But our understanding of the nature and culpability of the (potentially mortal) sin of murder had developed to possibly (or probably) exclude those who take their own lives.