You are mixing up different aspects. Get the visa from home country (non O) arrive in Thailand, open bank account, deposit funds at least 2
Months before visa expiry,apply for 1 year extension based on marriage. Job done Obviously check all other extensions requirements with your local immigration office