Yeah, I can most likely. On Yosemite, Apple ID's with 2 factor authentication enabled are not natively supported Fortunately, there is a way to login for you but it requires access to another apple device. If you have access to another apple device, you're going to use that device to get a verification code, then enter the verification code on the place that you would normally put your password.
To get this verification code see this instructions
From your iPhone, iPad or iPod touch
If your device is online:
- Go to Settings > [your name].
- Tap Password & Security > Get Verification Code.
If your device is offline:
- Go to Settings > [your name].
- Tap Password & Security.
- A message states “Account Details Unavailable”. Tap Get Verification Code.
From another Mac
- Go to Apple menu > System Settings (or System Preferences), then click your name (or Apple ID).
- Click Password & Security > Get a Verification Code.
If you've got this code, then go back to your MacBook with Yosemite. When signing in to the App Store, use your Apple ID as usual, but then, instead of your Apple ID password, place the verification code and press login. With this procedure, you should be able to login in Yosemites App Store