So this thing keeps giving me stress and i need answer
It's going to be ok. Take some deep breaths. No need to stress.
So i know bitcoin private key is secure and there are 2^256 private keys and i also understand that it's impossible for 2 people to generate the same btc private key.
You're off to a good start. Already you understand more than the majority of crypto users.
BUT what i think is possible is a bitcoin wallet generating a bitcoin address whose private key is in the range of 1 to say 10000??
That depends on what you mean when you say "possible".
then it's vulnerable to attack right?
Sure. If you generate a private key that is a relatively small integer (or very close to the high end of the range, or one that coincides with a sha256 hash of any common phrase or password), then it would be vulnerable.
See basically a private key is an integer between 1 and 2^256 converted to hex right.
Effectively, yes. Perhaps a better way to think of it is that a private key is an element of data that can be represented by a computer as a set of 256 binary digits. Any set of binary digits can technically also be represented as a base10 integer, so therefore your private key (just like EVERYTHING a computer stores) can be represented as a base10 integer.
So what's stopping Random number generator to pick a private key from say first few million integers??
Probability.
If your private key is generated randomly, then what you are saying is that it is generated by randomly choosing either a 1 or a 0 for each one of the 256 binary digits. Ending up with a private key that translates to an integer less than 1,000,000,000,000 is equivalent to randomly flipping a completely balanced coin and having it come up the exact same way 216 TIMES IN A ROW, and then for the remaining 40 flips it sometimes comes up one way and sometimes the other. Think about that for a bit, maybe even try it yourself with a coin. How many lifetimes of the universe do you think you'd need to continuously flip that perfect coin before it would come up the same way 216 times in a row? Is it realistic that it will ever happen? Is it "possible" the way a normal person would think of things being possible?
Isn't this a vulnerability?
No.
Of course, advanced user can simply convert their private key to hex and to decimal to check if it's a large enough integer
You could if you're actually concerned about it.
but what about noobies?
Regarding this concern, they'll be fine. There are MUCH more common problems for them to worry about and mess up.