If you just started basketball your last year in high school can you still get a college scholarship?

You could, but it is unlikely you would be good enough to get one; those that do often have played for years and the sport is normally more of their life than their eductaion.