Seems very doable to me.. are you an incoming sophomore or junior? Hopefully by now you've learned a bit of what works and what doesn't when it comes to studying. I assume that since you're posting this thread, you're not very confident in your ability to excel (as in get all As rather than some Bs). When I was going into my second year of college, I was ambitious to get only As from there on out despite taking my toughest course load yet, and I was in for a rude awakening when I ended having my worst quarter ever (lol).
For me, the gap between being in the B range and pushing myself finally to start consistent As (in science classes of course) was honestly just studying harder and more efficiently. Prioritize the professor's old tests if they're available, and don't waste time going over stuff you already know you're comfortable with--hone in on your weaknesses and don't stop studying until you've eliminated them all. I told myself to start going to office hours, but I rarely do lol. It can never hurt, but of course it takes time out of your day, so when you do go, try to be prepared with specific questions. It's always best to go over all the material YOURSELF first before you start reviewing with friends and asking the prof questions, so that you only need to fill in little details rather than trying to get other people to explain the large but basic concepts to you.
Study study study! If you know you aren't pushing yourself as hard as you can, change that as soon as possible. College isn't supposed to be easy and getting As definitely isn't easy, despite some people on this site making it seem like it is. Good luck!