If you did it with someone else’s photo and THEY said it was doxxing, I think I’d be inclined to side with them. Since it’s your own photo I reckon you get to decide whether or not it’s doxxing.
I’d hesitate to do it myself, but I send a lot of lemmy posts to my friends, who are very intentionally not all equally apprised of my interests/identity lmao