If i use it to get in top 100 squad battles,will i get banned?
The trainer is solely for offline only. This is why you are being kicked back to the main menu. No online use with the trainer. If they do checks then you may end up being banned and you will have a paperweight persay.
So no online use of the trainer plain and simple!