Did you catch all of those Pokemon yourself? If so, those ID numbers are perfectly normal.
ID numbers are basically a number unique to every trainer that is given to every Pokemon they capture. So every Pokemon that you capture should have your ID number.
So really, it is highly unlikely you will win the Jubilife Lottery without getting Pokemon of different ID numbers via trading (there are 65535 different ID numbers, so you only have a 1 in 65535 chance of winning!).
If you want more info on ID numbers, look here.