Sure. Have a look at https://service.mendixcloud.com/p/demodatagridextra. To implement this
Give it a nice rating if you like it.
You can change selection mode of DataGrid as MultiSelection or SimpleMultiSelection.
In SimpleMultiSelection each time you click on any row it gets selected.
In MultiSelection to select multiple rows you have to hold Ctrl button, else it will work as Single selection