Yes. You get 1 point for every spent Euro. Previously i think they also gave additional points for 1st class tickets, but i haven't found that anymore in the conditions. The german version is here:
https://www.bahn.de/p/view/mdb/bahni...07_05_2018.pdf
I haven't checked if there is also an english version of the terms.