  If the leptoquarks proposed to account for the intriguing anomalies observed
in the $B$-meson decays, $R_{D^{(\ast)}}$ and $R_{K^{(\ast)}}$, as well as in
the anomalous magnetic moment of the muon, $(g-2)_\mu$, can be embedded into
the scotogenic Dirac neutrino model, all these flavor anomalies, together with
the origin of neutrino masses and the nature of dark matter, would be
potentially addressed in a unified picture. Among the minimal seesaw, one-loop,
and two-loop realizations of the dimension-4 effective operator
$\mathcal{L}_{4}$ for the Dirac neutrino masses, we show that plenty of
diagrams associated with the two-loop realizations of $\mathcal{L}_{4}$ can
support the coexistence of leptoquarks and dark matter candidates. After a
simple match of these leptoquarks to those that can accommodate all the flavor
anomalies, we establish the scotogenic Dirac neutrino models embedded with
leptoquarks, which could address all the problems mentioned above.
