Ultralight bosonic dark matter in white dwarfs and potential observational consequences