It is possible to obtain the canonical basis from the PBW basis, as long as you are working in the quantum group Uq(n). The canonical basis seems to be inherently a quantum phenomenon, so it shouldn't be surprising that we want to compute in the quantum group.
If Eπ is an indexing of the quantum PBW basis, then what one first proves is that applying the bar involution is unitriangular with respect to this basis. There is even a mathoverflow question about this: Convex PBW basesConvex PBW bases.
Now it is a matter of linear algebra to prove that there exists a unique bar invariant basis bπ such that $$b_\pi=\sum_\sigma c_{\pi\sigma} E_\sigma$$ with cσσ=1, cσπ∈qℤ[q] if σ≠π and cσπ=0 unless σ≤π. This basis bπ is the canonical basis.