What does money have to do with it? If something is not possible whether you spend $1 on it or $1 billion on it doesn’t matter. It’s a question of wasting $1 or wasting $1 billion.
All spam calls come from real phone numbers, and by the time a call reaches your phone all the phone “knows” is the caller ID which, thanks to the fine members of Congress, can be easily and legally faked.
Actually, your carrier knows something about where the call originated, and if you subscribe to their call protect service it will warn you of calls that might be spam. It isn’t perfect either, but is a little better. However, US carriers charge for their advanced call screening service; about $4 a month.
But the bottom line is that there is no way to determine absolutely the intent of a caller.