Pinwise, that shouldn't be a problem... D0 is MOSI, D1 is MISO, D2 is SCK/CLK, and CS (chip select) can go on D5, so you won't interfere with the D3/D4 USB lines.
Your problem will be space... not sure how much space the UsbKeyboard library takes up, but I bet you won't have much SRAM or flash memory left for the SD libraries, and they need a LOT of flash and RAM... and then there is a question of is there anything compatible with the attiny85 in the digispark. There is some code for a sd wave player, but the author has had to write that in AVR Studio C code, rather than Arduino code, and that doesn't have USB connect either.
I suspect to do what you want, you'll want to get something with a bit more grunt.... both in SRAM (memory) and flash (program space). If you want something cheap, possibly the STM32 'blue pill' might work... lots of program and RAM space, and
there is supposedly USB HID stuff for it.... A better option might be one of the micro Arduino Lenardo type boards that you can get now...
for example, this one - which is basically the same side as the digispark, but has the more powerful ATMEGA32U4 processor and can readily do USB HID/keyboard/mouse stuff, and also have the grunt to do the SD card stuff you need.