My (only) answer for
the A7 chord is NO.
A borrowed chord is different from the Secondary Dominants (think -
tonicization).
During tonicization, you are temporarily changing the "tonic chord."
A7 as a secondary dominant temporarily makes Dmaj7 as the "tonic chord," which destroys the modal interchange foundation - "retaining the same tonal center. Tonal center refers mainly to the root note of the 1 chord" as our TB member Smooth_bass88 has mentioned.
Now, the Dmaj7 in the key of C major is a "borrowed chord."
If it's just D major chord - a Triad, then, it's borrowed from C Lydian, but...
If it's D maj7 with that C#, then, it's not(!) borrowed from C Lydian.
What are our other choices.
"Smart Music Theorists" have found the solution for some "serious" cases of Modal Interchange.
"Although the most commonly used borrowed chords originate from the major and/or minor parallel modes, including the respective harmonic and melodic minor as well as symmetrical scales sharing the same root."
One of the symmetrical scales, "
based on root of the scale – in C" is
The Chromatic Scale as
C – G – D – A – E – B – F# – C# – G# – D# – A# – E# (F enharmonic) and C.
We have the needed notes of D - F# - A - C# for the borrowed chord of Dmaj7.
Symmetric Scales
P.S. In the "picky world of Music Theorists" at TalkBass, you
don't "borrow" from Harmonic Minor or Melodic Minor for your Natural Minor.