digging nails into palms

is digging your finger nails into your palms considered self harm if your doing it purposely to relive stress?