So I've lost my 12-word seed but I still know the first letter of each word.
Can I make a script trying all possible combinations and recover my seed in a reasonable amount of time?
I'm afraid brute forcing your seed phrase, even with known letters, is basically impossible. With 12 random words drawn from a list of over 2000, the combinations are just astronomical. Every initial letter opens up hundreds of possibilities - for instance 136 words start with A. Doing the math, that's way too many combinations for any computer to churn through in our lifetimes.