In a way. The show took cues from actual criminal profiling practices and real-life cases, but it fictionalized and dramatized the events for entertainment purposes.
To some extent. The show takes elements from actual criminal investigations but fictionalizes and dramatizes them for entertainment purposes. So, it's not a direct retelling of a specific true story.